# -*- coding: utf-8 -*-
"""第一个程序"""

import sys,tools,LFWindow
from PyQt5.QtWidgets import QApplication
from PyQt5 import QtGui

app = QApplication(sys.argv)
w = LFWindow.Main()

with open(tools.resource_path("template.qss"), "r") as qs:
    app.setStyleSheet(qs.read())

app.setWindowIcon(QtGui.QIcon(tools.resource_path("logo.ico")))
w.setWindowIcon(QtGui.QIcon(tools.resource_path("logo.ico")))

sys.exit(app.exec_())